import {createBrowserRouter, Navigate} from "react-router-dom"
import App from "../App"
import Home from "../views/Home/Home"
import AboutUs from "../views/AboutUs/AboutUs"
import EducatioinTraining from "../views/EducationTraining/EducatioinTraining"
import Business from "../views/Business/Business"
const routers = createBrowserRouter([
    {path:"/",element:<App/>,children:[
        {path:"/",element:<Navigate to="/home"></Navigate>},
        {path:"home",element:<Home/>},
        {path:"aboutus",element:<AboutUs/>},
        {path:"et",element:<EducatioinTraining/>},
        {path:"business",element:<Business/>},
    ]}
])
export default routers